<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="w" uri="http://www.groupwareworkbench.org.br/widgets/commons" %>
<%@ taglib prefix="r" uri="http://www.groupwareworkbench.org.br/taglibs/reflection" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="Cache-Control" content="no-cache">
        <title>Objetos Tagueados</title>
        <link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/images/favicon.ico" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/reset.css" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/aun.css" />
    </head>
    <body>
        <w:topo collabletInstance="${tagMgr.collablet}" />
        <w:conteudoPagina titulo="Objetos Tagueados com tag: ${tag.name}">
            <div style="padding-left: 20px;">
            	<c:forEach items="${tag.taggedObjects}" var="entity">
                	<r:callMethod methodName="formatEntityURL" instance="${entity.collablet}" var="entityUrl">
                    	<r:param type="java.lang.Object" value="${entity}" />
	                </r:callMethod>
    	            <c:if test="${not empty entityUrl}">
        	            <a href="<c:url value="${entityUrl}" />" ><c:out value="${entity.title}" /></a>
            	        <br />
	                </c:if>
    	        </c:forEach>
            </div>
            <div class="barra_botoes">
                <w:voltar collabletInstance="${tagMgr.collablet}" />
            </div>
        </w:conteudoPagina>
    </body>
</html>